<template>
  <input
    type="text"
    :value="value"
    @input="$emit('input', $event.target.value)"
  />
</template>

<script>
export default {
  name: "Input",
  props: ["value"],
};
</script>

<style scoped>
input {
  width: 100%;
  height: 40px;
  border: 1px solid #666;
  font-size: 18px;
  color: #333;
  padding: 20px;
  box-sizing: border-box;
}
input:focus {
  outline: 1px solid rgb(70, 159, 219);
}
</style>
